<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div style="color: pink;">522</div>
    <script>
        let a="522"
        alert(a)
        a="zhangsan"
        console.log(a)
        document.write("<div>"+a+"</div>")
        a="lisi"
        document.write("<h1 style='color:red;'>"+a+"</h1>")
        let b=100
        document.write(""+b)
        function room(){
            console.log("522")
        }
        room()

        function roomate(a,b){
            console.log(a+b)
        }
        roomate("wang","wu")
    </script>
</body>
</html>